// import 'http'
var http = require('http')

const hostname = '127.0.0.1'
const port = '8001'

var server = http.createServer((req,res)=>{
    res.statusCode = 200
    res.end('hhhhh')
});

server.listen(port,hostname,()=>{
    console.log(`Server running at http://${hostname}:${port}/`);
});